//
//  ToggleSprite.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-6-17.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"

@interface ToggleSprite : CCNode
{
    CCSprite* _activeSprite;        //激活状态的图片
    CCSprite* _unactiveSprite;      //非激活状态的图片
}

+(id) spriteWithActive:(NSString*)activeFrameName unactive:(NSString*)unActiveframeName;
-(id) initWithActive:(NSString*)activeFrameName unactive:(NSString*)unActiveframeName;

-(void) setActive:(BOOL)isActive;

@end
